package com.qf.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Permission {
    private Integer id;
    private String name;
    private String url;
    private Integer type;
    @TableField(fill = FieldFill.INSERT)
    private Integer status;
    private Integer pid;
    @TableField(exist = false)//告诉Mp表中不存在这个字段
    private String pname;
}
